package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.ExpertConsultation.ExpertBean;

import java.util.List;

public interface IExpertService extends IService<ExpertBean> {

    IPage<ExpertBean> findCutExpert(int pageNo,int pageSize,String expertName,String expertSpecialty,String expertUnit);

    void addExpert(ExpertBean expertBean);

    ExpertBean findExpertById(int expertId);

    void updateExpert(int expertId,String expertTel,String expertJob,String expertUnit,String expertEmail);

    void delExpert(int expertId);

    List<ExpertBean> findAllexp();

}
